package me.zhengjie.modules.website.service;

import me.zhengjie.modules.website.domain.FeedbackTable;
import org.springframework.data.domain.Pageable;
import me.zhengjie.modules.website.domain.PageResult;

import java.time.LocalDateTime;
import java.util.List;

/**
 * @author system
 * @since 2024-10-23 22:25:03
 */
public interface  FeedbackTableService {

    PageResult<FeedbackTable> findPage(FeedbackTable feedbackTable, LocalDateTime startDate, LocalDateTime endDate, Pageable pageable);

    PageResult<FeedbackTable> findPage(FeedbackTable params, Pageable pageable);

    List<FeedbackTable> findList(FeedbackTable params);

    FeedbackTable findById(Long id);

    FeedbackTable insert(FeedbackTable feedbackTable);

    FeedbackTable update(FeedbackTable feedbackTable);

    void delete(Long id);

}